package com.zxcz.domain;

import java.util.List;

/**
 * 分页结果
 * @author root
 *
 */
public class PageResult<T> {
	private List<T> rows;//每页记录
	private Long total;//总记录数
	
	public List<T> getRows() {
		return rows;
	}
	public void setRows(List<T> rows) {
		this.rows = rows;
	}
	public Long getTotal() {
		return total;
	}
	public void setTotal(Long total) {
		this.total = total;
	}
	@Override
	public String toString() {
		return "PageResult [rows=" + rows + ", total=" + total + "]";
	}

}
